add_sources(libopenage
  color.cpp
  geometry.cpp
  sdl_global.cpp
  tests.cpp
  text.cpp
  texture.cpp
  texture_array.cpp
  window.cpp
)

pxdgen(
	tests.h
)

add_subdirectory(font/)
add_subdirectory(resources/)

if(OPENGL_FOUND)
    add_subdirectory(opengl/)
endif()

if(VULKAN_FOUND)
    add_subdirectory(vulkan/)
endif()
